package com.yunxi.model.vehicle;

import com.baomidou.mybatisplus.annotation.*;
import com.yunxi.vehicle.pojo.VehicleConfigVerVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 工程配置版本明细
 * </p>
 *
 * @author 
 * @since 2019-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("base_vehicle_config")
@ApiModel(value="BaseVehicleConfigVer对象", description="工程配置版本明细")
public class VehicleConfig implements Serializable {

    private static final long serialVersionUID = 11231231231L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "CONFIG_ID", type = IdType.UUID)
    private String configId;

    @ApiModelProperty(value = "选配关系")
    @TableField("FAMILY_CODE")
    private String familyCode;

    @ApiModelProperty(value = "状态")
    @TableField("FAMILY_NAME")
    private String familyName;

    @ApiModelProperty(value = "特征徝编码")
    @TableField("FEATURE_CODE")
    private String featureCode;

    @ApiModelProperty(value = "特征徝名称")
    @TableField("FEATURE_NAME")
    private String featureName;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_DATE",fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_DATE",fill = FieldFill.UPDATE)
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "版本")
    @TableField("VERSION")
    private Integer version;

    private transient List<VehicleConfigVerVO> vehicleConfigVerList;

    private transient String vehicleCode;

    private String featureAliasName;
}
